package com.zjl.service;

import java.math.BigDecimal;

/**
 * @Author EternalPain
 * @Date 2023/1/31 18:16
 * @Version 1.0
 */
public interface WalletService {

    boolean consumeMoney(int userId, BigDecimal money);

    boolean refund(int userId, BigDecimal money);
}
